package com.design.lzr.abstractfactory;

/**
 * 抽象工厂模式
 *
 *
 * @author lzr
 * @date 2018/9/18
 */
public abstract class AbstractFactory {

    abstract AbstractProductA createProductA();

    abstract AbstractProductB createProductB();

    protected ProductC createCommonProduct(){
        return new ProductC();
    }
}
